Don't support the old handling of zero height/width in gdk_window_clear_area
authorAlexander Larsson <alexl@redhat.com>
Fri, 11 Sep 2009 13:21:43 +0000 (15:21 +0200)
committerAlexander Larsson <alexl@redhat.com>
Fri, 11 Sep 2009 13:21:43 +0000 (15:21 +0200)
commite1554d8466f2d354243d950768bbfa45e4b8dc3b
treef402b28f34ac72b4bbf6c5f85e5aecfedc65d688
parent0df4283574d680187714d210c371926e73a7d923
Don't support the old handling of zero height/width in gdk_window_clear_area

We used to handle zero height/width specially in the non-double buffered
case due to the weird behaviour of XClearArea in this case. However
this is undocumented, incompatible with what happens on double-buffered
drawing, and just not a good API. So, we drop this behaviour, having
fixed gtkclist.c which used this.
docs/reference/gtk/migrating-ClientSideWindows.sgml
gdk/gdkwindow.c